package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 网点邀请码发送记录
 * </p>
 *
 * @author WEN
 * @since 2024-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjNetworkInviteCodeSendLog对象", description="网点邀请码发送记录")
public class ZjNetworkInviteCodeSendLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "发送人")
    private String sendUsername;

    @ApiModelProperty(value = "接收者手机号")
    private String receivePhone;

    @ApiModelProperty(value = "发送内容")
    private String content;

    @ApiModelProperty(value = "是否发送成功：0-否，1-是")
    @TableField("is_success")
    private Boolean success;

    @ApiModelProperty(value = "发送失败内容")
    private String error;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
